
#ifndef _C2_WEIGHT__H_
#define _C2_WEIGHT__H_

#include "dtype.h" // you should specify data type in this file

const INT16 c2_weight[16][6][5][5]={
-5, 8, -41, -44, -59, -19, -29, 
-46, -17, 8, -46, 0, 21, 2, 8, 
6, 20, 46, 8, -4, -21, 12, -35, 
-8, -11, -14, -4, 8, -32, -4, -6, 
-35, -2, -39, -44, 9, -37, -40, 1, 
13, -14, -6, 46, 59, 49, 26, 83, 
90, 30, 13, -14, -29, -9, -26, -42, 
-25, -16, -17, -45, -75, -28, -18, -33, 
-25, -32, -15, -17, 10, 10, 42, 8, 
73, 83, 29, 2, 9, 12, 35, 30, 
19, 55, 8, -39, 5, 6, -45, 26, 
4, 6, -49, 44, 51, -1, -61, -74, 
14, -36, -72, -25, 11, -1, 25, 15, 
4, 2, 6, -21, 40, 47, 39, -10, 
3, 36, 8, -17, 10, -38, -71, -75, 
-27, -17, -74, -29, -13, -23, -31, 0, 
-2, -18, -29, -5, 13, -9, -20, 31, 
-24, 21, 24, 18, 8, 22, 2, -14, 
-16, -4, 8, -21, 19, 36, 37, -11, 
-3, -9, -10, 14, 11, -14, 4, -5, 
4, -5, 15, 9, -17, 3, 11, 5, 
7, 2, -18, 7, 1, 5, -17, -18, 
-16, -13, 9, 16, 17, 8, -9, -20, 
-17, -13, 8, -17, -13, 8, 12, 9, 
-10, -17, 0, -11, -8, 6, -2, -21, 
13, 14, -15, -16, -12, 19, 5, 4, 
19, 18, 0, -11, 10, 4, 4, -12, 
-21, -19, -10, -1, 16, -2, -8, 16, 
-11, -11, -9, 6, -5, -3, -8, -17, 
-7, 10, 7, 13, 5, -10, 12, -6, 
-23, 7, -12, -4, 10, 2, -10, 1, 
-11, 0, -8, 24, 4, 14, 12, -13, 
14, -7, 1, -7, -1, 15, 0, -19, 
-9, -21, -18, 15, -1, -19, -12, 10, 
17, -20, -10, 7, 11, 12, -5, -7, 
-15, -17, -14, -15, -18, -8, 5, -3, 
-12, 13, 15, 7, 11, -22, -11, -10, 
0, 7, -17, -15, 2, -17, -13, -1, 
2, -8, -52, -24, 14, 31, 4, -42, 
14, 26, 8, -25, 26, 51, 60, -15, 
-31, 41, 46, -24, -46, -65, -28, -41, 
-11, 1, 3, -13, -30, -5, 55, 59, 
-38, -6, 55, 83, 22, -15, 47, 42, 
60, -43, -6, 34, 41, -3, 2, -24, 
-14, -8, -5, -19, -6, -4, 1, 4, 
18, -7, -23, -19, -5, 19, -26, -23, 
23, -9, -11, -20, -12, -40, -42, 13, 
62, 29, -34, 7, 40, 2, -39, -56, 
-32, -63, 5, -52, -72, -118, -47, -9, 
-66, -111, -44, 22, -51, -43, -23, 40, 
24, -46, -37, -31, -66, -16, -58, -1, 
-3, -44, -8, -34, 32, -11, -16, -26, 
20, 30, 28, 31, -17, 23, 41, 48, 
20, -40, 19, 2, 6, 2, 13, -11, 
-6, 11, -23, -4, 0, -21, 10, 8, 
11, 7, 21, 37, 11, 9, -13, 30, 
56, 8, -41, -11, 0, -33, -49, -12, 
-10, -21, -40, -40, -33, -27, -40, -41, 
-36, -51, -34, -22, -43, -15, -37, 29, 
44, 24, 20, -5, -21, -10, 24, -1, 
7, 8, -22, 7, -4, -10, -32, -51, 
-44, 5, 8, -34, -49, -22, -4, -4, 
-31, -26, -21, 11, 26, -16, -21, -8, 
14, 11, 31, 15, -12, 36, 37, -9, 
11, -6, 51, 64, -7, -13, -16, -31, 
12, -27, -23, -16, -26, -23, 36, 20, 
27, 44, -26, -1, 32, 98, 122, 22, 
-32, -5, 16, 34, 28, -45, -57, -65, 
-64, -3, 4, 15, 10, -19, -34, -38, 
-43, -20, -53, -4, 10, 68, 67, -51, 
-21, -11, 12, 29, -1, -19, -79, -20, 
-22, 35, 28, -60, -35, -69, -15, -5, 
12, 29, 16, 54, 23, -8, 38, 65, 
39, 21, -21, -15, 16, -14, -22, -59, 
-28, -12, 0, -2, -28, -39, -15, 11, 
-1, -3, -47, -45, -41, 29, -20, -17, 
-6, 10, 18, -15, 0, -13, 45, 7, 
12, 41, 43, 15, 17, 10, 27, 0, 
-12, -38, -43, -21, -28, -31, -20, -21, 
-36, -30, -47, 11, -20, -36, -41, 6, 
47, -20, -14, 8, 31, 55, -26, -7, 
28, 18, 26, 6, -6, 12, -29, -10, 
-26, -18, 0, -23, 0, -18, -12, -8, 
21, 41, 3, 12, 8, -7, 20, -26, 
18, 27, 29, 11, -19, -40, -27, -29, 
-30, -13, -20, 27, 14, -43, 7, 6, 
36, -22, -65, 13, 20, -7, -53, -34, 
4, -34, -43, -58, -26, -14, -18, -30, 
9, 44, -45, -48, -40, -42, -2, -24, 
-28, -18, -32, -40, -26, 22, -19, -25, 
-7, 19, 24, 11, 20, -12, 10, -18, 
13, -19, 22, -7, -20, 0, -20, 20, 
-23, 4, -20, -11, -4, -21, 4, 7, 
45, 15, 14, 18, 17, 12, 16, -1, 
-1, -36, 1, 1, -27, -14, 11, -21, 
10, -13, 5, 30, 12, 11, -23, 22, 
47, -18, -20, -37, 44, 39, -41, 3, 
3, -9, -3, 7, -10, -30, -25, -10, 
16, -10, 8, -19, -19, 27, -36, -22, 
-21, 16, 32, -18, -11, -35, 34, 33, 
-30, 7, -8, -9, -5, -22, -21, -19, 
-22, -16, 6, -18, -2, -17, -4, -24, 
-29, -20, -27, -5, -21, -30, -10, -31, 
-45, -31, -27, -26, -64, -41, -57, -23, 
-46, -30, 8, -21, 6, -13, -35, 3, 
15, 4, -21, -27, 7, -22, -3, -15, 
-60, 70, 68, -40, -28, -16, -26, -31, 
-49, -26, -25, -23, -36, -23, -24, 21, 
-33, -35, -26, 4, 47, 9, -34, -34, 
11, 93, 35, -23, -11, -14, -3, 8, 
-35, -25, -18, 4, -7, -29, -15, -3, 
-21, -5, -37, -15, -4, -18, 17, -1, 
1, -15, -2, 27, -6, -5, -32, -19, 
-7, -16, -3, -21, -4, 20, -10, 2, 
3, 0, 24, -34, 25, 5, -22, 9, 
-58, 4, 9, -14, -25, -50, -13, -19, 
-33, 4, 40, -19, -30, -15, -9, 63, 
-8, 3, 25, -15, 20, 12, 30, 19, 
-2, 17, 34, 20, -4, -3, -2, -5, 
13, -23, -12, -35, 16, -3, -16, -23, 
-36, 11, 5, -7, -14, -27, -18, 0, 
12, -41, -23, 0, 22, 1, -16, -17, 
7, -15, -40, -40, -1, 27, 17, -13, 
-85, -46, 20, -14, -18, -95, -33, -23, 
-35, -71, -70, -2, -42, -30, -78, -79, 
-9, 1, -3, 20, 18, -53, -31, -1, 
11, 20, 13, -22, 4, -8, 52, 50, 
-10, 0, 17, 37, 78, 7, -2, 17, 
15, 54, -7, -3, 39, 9, -19, -2, 
2, 36, 56, 48, -4, 3, 40, 34, 
50, -20, 26, 47, 28, 43, -16, -5, 
14, -1, 25, 34, 12, 7, -16, 2, 
-29, 1, -14, 15, 6, -17, -5, -9, 
-23, -19, -31, -30, -14, -33, -23, 4, 
9, -33, -1, 38, -6, 11, 7, 22, 
-21, 16, 6, 29, -13, -15, -21, -24, 
14, -13, -7, -15, 22, 17, -4, -12, 
10, -2, 11, -48, -13, -29, -26, -13, 
-30, -12, 30, 18, 2, 4, -18, 16, 
26, 24, 14, 24, 24, 37, 61, 45, 
25, 16, -4, 8, 6, -8, -12, -8, 
-17, -37, -22, 16, -29, 24, 63, 91, 
60, 58, 41, 52, 21, -45, -52, -25, 
-31, -45, -29, -30, -3, 26, -40, 4, 
-28, -22, -13, -29, -28, -50, -21, -28, 
-30, -26, -52, -50, -39, 4, -41, -51, 
-59, -74, -6, -22, 4, 4, -1, -14, 
-10, 6, 4, 8, -15, 2, 5, 31, 
27, -6, 36, -3, -2, 11, 4, 11, 
8, -2, -14, 30, 10, 3, 12, -3, 
18, 5, 3, 4, -15, 20, 12, -17, 
-8, -18, 21, -18, -16, -9, 0, -4, 
17, -23, 15, -22, 1, -12, -22, 3, 
-5, 7, -16, -13, 2, -22, -16, -17, 
1, -3, -16, 22, -13, -10, -18, 21, 
7, 7, -1, -10, 17, -9, -7, -3, 
-17, 10, -21, 6, 6, -21, 5, 18, 
10, -23, 15, -11, 5, 6, 17, 21, 
-6, 10, -1, -11, -23, 17, -4, 10, 
1, -11, -1, -15, -12, -21, 13, 5, 
-20, -4, -13, -18, 7, -2, -7, 8, 
-11, -30, -16, -15, 12, -28, 1, 11, 
4, 13, -24, -19, 14, 18, 1, -8, 
-21, -8, -9, -7, 15, 19, -8, 5, 
9, -12, -11, 11, 6, -10, 12, -2, 
-18, -5, -17, 19, 13, -20, 9, 18, 
21, -16, 15, -5, 14, -17, -9, 10, 
19, 16, 4, -17, -15, 1, 1, 1, 
-10, 0, 10, 3, 7, 3, 4, 1, 
24, 8, 18, 0, 30, 37, 1, 7, 
-8, 52, 18, -2, -31, -6, 40, 8, 
-34, -19, -13, 50, 6, -31, -37, -1, 
-42, -21, -17, -12, 18, -27, 6, 16, 
-19, 15, -17, 21, 17, 14, -37, -1, 
48, 3, -16, -3, 50, 63, 5, -46, 
-25, -26, -10, -5, 13, 0, -31, -25, 
-5, 2, 14, -13, -21, -1, 4, 14, 
-19, 20, -3, -3, -22, 7, 3, -13, 
8, 3, -32, -19, -30, -32, -60, -10, 
-11, -38, -25, -66, -11, -2, -41, -49, 
-34, 6, -58, -48, -21, -3, -3, -29, 
12, 16, 25, -17, -34, -2, -5, 0, 
-5, 2, -8, -10, -4, 15, 15, 16, 
-8, -26, 29, -17, -26, -30, -47, 16, 
-1, -26, -12, -12, -8, -25, -20, 0, 
4, -11, -28, -24, 15, -3, -28, -18, 
-20, 7, 19, -7, -18, -12, 18, 1, 
-10, 30, 3, 18, -11, -38, -1, 26, 
24, -3, -19, 19, 14, -7, 19, 18, 
-7, -24, -15, -34, -3, -27, -26, -15, 
-31, -27, -36, -58, -40, -51, 4, -26, 
-45, -39, -26, -12, -42, -31, -9, -27, 
-36, 10, -8, -13, 17, 46, 39, -14, 
-10, -30, 50, -5, -19, -24, -28, -6, 
7, 2, -1, -5, -20, -40, 6, 13, 
8, -8, -9, 39, 31, 8, -7, 4, 
20, 1, 8, 23, 8, 14, 24, 0, 
-42, -6, 27, 35, 59, -56, 21, 38, 
48, 41, 20, -19, -8, 16, 11, 7, 
16, 12, 37, 2, -17, 30, 30, 26, 
-8, -41, -33, -30, -38, -13, -46, -20, 
-37, -32, -27, -12, -20, -35, -29, -39, 
-33, -3, -29, -44, -58, -40, -27, -14, 
-21, -30, -30, -28, -46, -23, -23, -18, 
-27, -29, -23, -20, -15, 1, 4, 30, 
12, -16, 34, 35, 3, -18, 20, 1, 
1, -24, -22, -33, -9, -34, -16, -24, 
-15, 18, -13, -9, -27, 18, 36, 2, 
-5, 11, -9, 23, -29, -28, 19, -31, 
-33, -24, 2, 31, 20, -8, -7, 11, 
-35, 9, 11, 52, 10, -22, 49, 82, 
57, -4, -34, 38, 39, 15, -36, -10, 
-8, -17, -44, -35, 0, 10, -8, -43, 
-46, -16, 6, -49, -30, -34, -30, 29, 
22, 15, -9, -18, 63, 50, 8, -17, 
7, 14, 10, 8, -13, 1, 20, 25, 
-10, -10, -59, -44, -33, -33, -39, -5, 
8, -53, -37, -14, 17, -26, -43, -11, 
19, 41, -20, 8, -4, 35, 9, -14, 
41, 20, 15, -18, 8, 48, 9, -24, 
-27, 5, -20, -14, -27, -30, -21, -19, 
-28, -35, 2, -23, -3, 5, -9, 28, 
-2, 22, 26, 33, 26, 65, 37, 36, 
26, -7, 15, 18, -6, -7, -33, -2, 
13, 18, -1, 5, 1, 11, 3, -10, 
-1, 5, -40, -14, -34, -26, -39, -32, 
0, -4, -12, -34, -42, 13, 36, -17, 
-5, 0, 15, 47, -19, -4, 13, 65, 
55, -41, 19, 6, -39, -5, 22, -1, 
-21, -32, -19, 19, -26, -23, -28, -16, 
73, -32, -40, -45, 21, 76, 5, -35, 
27, 49, 24, -22, -9, 12, -32, -24, 
2, -29, -41, -35, -19, -16, -3, -47, 
-17, -14, -18, -34, -11, 0, -36, -7, 
11, -1, -13, -38, -24, -5, -42, -42, 
-19, -2, -25, -47, -51, -7, 17, 4, 
-20, -38, -45, -11, 10, 20, -26, -27, 
10, 16, -3, -46, -28, 28, 10, 25, 
19, -50, -17, -5, -23, 33, -25, -33, 
-30, -16, 32, 11, -22, -35, 4, 16, 
12, -32, -13, -13, 27, -15, 25, -16, 
14, 18, -3, 2, 12, -29, -4, -22, 
1, 5, -35, -35, 13, -4, 10, -17, 
-7, 9, -15, 4, 19, 33, 17, -3, 
-22, -7, -1, -32, -14, -11, 5, -33, 
-50, -10, 16, -25, -12, -33, 6, -2, 
-16, -29, 8, 16, -11, 17, 38, 11, 
-25, -10, -31, -33, -25, -22, -6, -5, 
-37, -37, -18, -21, -24, -27, -30, 10, 
1, 21, -29, 12, 46, 29, 10, -12, 
44, 11, 18, 14, 3, 15, -13, -23, 
-15, 14, -17, 14, -9, -5, -3, -34, 
-1, -2, 19, -23, -24, -14, 4, -19, 
-6, 6, -15, -22, -6, -3, -39, -8, 
28, 22, 16, 13, 11, -12, 4, 29, 
62, 20, -18, -42, 9, 12, 23, -22, 
-16, -5, 8, -29, -45, -21, -27, 6, 
-29, -27, -24, -40, -13, -20, -17, -14, 
1, -18, 4, 13, 23, 25, 16, 10, 
1, 18, 60, 29, -24, -15, -29, -23, 
-3, -8, -34, -44, -17, -10, -10, -28, 
-7, -3, -7, -8, 12, 5, 11, 25, 
19, 2, 31, 41, 50, 20, -25, -9, 
0, -12, 19, -41, -25, -25, -11, 16, 
-38, -23, -34, -15, -7, -15, -25, -17, 
-35, 8, -26, -29, -41, -20, -7, 22, 
-33, -39, -45, 5, -3, -21, -6, 2, 
-22, -4, 5, -23, 18, -41, -8, -34, 
11, -3, -58, 1, -30, 12, 3, 6, 
-7, -21, -7, -20, -25, -19, -34, 9, 
1, -40, -43, -39, -4, 1, -20, -20, 
-35, -26, 3, -31, -6, 6, 16, 17, 
-32, 3, 30, 7, 17, -66, -37, 22, 
3, -28, -69, -44, 35, 16, 7, -53, 
-44, 29, 41, 28, -76, -17, 17, 3, 
10, 68, 21, -47, -34, -40, 45, 44, 
-6, -35, -18, 6, 50, -11, -36, -17, 
17, 30, 10, -17, -16, 35, 44, -4, 
-26, -37, 37, 17, 2, -40, -39, 7, 
-5, -2, -28, -20, 11, 10, 7, 2, 
-14, 7, 27, 14, 19, -6, -1, 24, 
4, 1, -24, 14, -7, -18, 14, 8, 
5, -8, 10, 13, -19, -19, 16, -2, 
-2, 6, -12, 3, 17, -6, -4, -5, 
-4, -7, -4, -12, -19, -12, 15, 6, 
-1, -10, -12, 4, -18, -19, -8, 4, 
-24, -25, -8, -10, 3, 13, 14, -9, 
-12, 4, -13, -22, -17, 7, 25, 1, 
-10, -8, 18, -12, -3, 2, -3, -15, 
-19, 6, 8, 20, 14, -14, 1, 10, 
-11, 5, 12, 17, 5, -1, 11, 10, 
-28, -15, -14, -21, -6, 0, 5, 2, 
-5, -14, 15, 10, 37, 27, 33, -3, 
-15, -15, 2, 5, 34, 8, -8, -3, 
-2, -22, -6, -30, -19, -30, -18, 1, 
-17, -12, 0, -25, -18, -7, -3, 13, 
-28, -24, 11, 2, -12, -7, -4, 4, 
-21, 2, 15, -8, -23, -10, 17, 18, 
-13, 9, -21, -7, -9, 8, -6, 17, 
-27, -14, -1, 12, 0, -15, -18, 10, 
6, 
};

#endif

